<template>
  <div class="">
    <img :src="'/api/storage/grades_img/'+this.grades_year+'/'+this.grades_img"
         style="width: 80%;height: 100%;"
         alt="..."/>
  </div>
</template>

<script>
import {getGradesByYear} from "@/api/College";

export default {
  name: "academic_grades",
  data(){
    return{
      grades_year:this.$route.query.grades_year,
      grades_sort:this.$route.query.grades_sort,
      grades_img:'',
    }
  },
  methods:{
    //获取分数线信息
    init(){
      getGradesByYear({
        grades_year:this.grades_year,
        grades_sort:this.grades_sort
      }).then(res=>{
        this.grades_img=res.data.data.grades_img;
      });
    },
  },
  created() {
    let _this=this;
    _this.init();

  }
}
</script>

<style scoped>

</style>
